package com.xnew.entity.memberArchives;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
* @Author: Zhozh
* @Description: 营业部地图坐标记录表
* @DateTime: 2022/5/20
* @Params:
* @Return
*/
@TableName("t10_mem_brn_coord_info")
public class MemBrnCoordInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 营业部信息编号
    */
    @TableId("brn_info_no")
    private String brnInfoNo;

    /**
    * 办公地址所在省编码
    */
    private String officeAddrLocalProvCode;

    /**
    * 办公地址所在市编码
    */
    private String officeAddrLocalCityCode;

    /**
    * 办公地址所在县编码
    */
    private String officeAddrLocalCntyCode;

    /**
    * 营业部名称
    */
    private String brnName;

    /**
    * 办公地址全称
    */
    private String officeAddrFn;

    /**
     * 办公地址用于地图定位坐标
     */
    private String officeAddrMapLocat;

    public MemBrnCoordInfo() {
    }

    public String getBrnInfoNo() {
        return brnInfoNo;
    }

    public void setBrnInfoNo(String brnInfoNo) {
        this.brnInfoNo = brnInfoNo;
    }

    public String getOfficeAddrLocalProvCode() {
        return officeAddrLocalProvCode;
    }

    public void setOfficeAddrLocalProvCode(String officeAddrLocalProvCode) {
        this.officeAddrLocalProvCode = officeAddrLocalProvCode;
    }

    public String getOfficeAddrLocalCityCode() {
        return officeAddrLocalCityCode;
    }

    public void setOfficeAddrLocalCityCode(String officeAddrLocalCityCode) {
        this.officeAddrLocalCityCode = officeAddrLocalCityCode;
    }

    public String getOfficeAddrLocalCntyCode() {
        return officeAddrLocalCntyCode;
    }

    public void setOfficeAddrLocalCntyCode(String officeAddrLocalCntyCode) {
        this.officeAddrLocalCntyCode = officeAddrLocalCntyCode;
    }

    public String getBrnName() {
        return brnName;
    }

    public void setBrnName(String brnName) {
        this.brnName = brnName;
    }

    public String getOfficeAddrFn() {
        return officeAddrFn;
    }

    public void setOfficeAddrFn(String officeAddrFn) {
        this.officeAddrFn = officeAddrFn;
    }

    public String getOfficeAddrMapLocat() {
        return officeAddrMapLocat;
    }

    public void setOfficeAddrMapLocat(String officeAddrMapLocat) {
        this.officeAddrMapLocat = officeAddrMapLocat;
    }

    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField(exist = false)
    private Map<String, Object> dictNameResult = new HashMap<String, Object>();

    public Map<String, Object> getDictNameResult() {
        return dictNameResult;
    }

    public void setDictNameResult(Map<String, Object> dictNameResult) {
        this.dictNameResult = dictNameResult;
    }

    //数据字典
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeField(){
        return new String[]{"officeAddrLocalProvCode","officeAddrLocalCityCode","officeAddrLocalCntyCode"};
    }

    /*数据字典*/
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeType(){
        return new String[]{"DG0106","DG0106","DG0106"};
    }

}